<script setup lang="ts">
import { BaseButton } from '@/components/Button'
import { PropType } from 'vue'
export interface actionsType {
  props:Object
  type?: string
  tip?: string
}


defineProps({
  actions: {
    type: Array as PropType<actionsType[]>,
    default: () => []
  }
})
</script>

<template>
  <template v-for="(item, index) in actions" :key="index">
    <BaseButton   v-bind="{ ...item.props }"> {{ item.tip }} </BaseButton>
  </template>
</template>
